import { Outlet } from "react-router-dom";

import Directory from "../../components/directory/directory.component";

const Home = () => {
  return (
    <div>
      <Directory />
      <Outlet />
    </div>
  );
};

export default Home;
// <div>
//   <Outlet></Outlet>
//   <Directory categories={categories} />
// </div>

// // <div className="categories-container">
// //   {categories.map((category) => (
// //     <CategoryItem key={category.id} category={category} />
// //   ))}
// // </div>
